core: Use at-relative functions for checking out tree copies too
authorColin Walters <walters@verbum.org>
Sun, 8 Sep 2013 14:35:47 +0000 (10:35 -0400)
committerColin Walters <walters@verbum.org>
Sun, 8 Sep 2013 18:42:50 +0000 (14:42 -0400)
commit33e589c01808ebffc3d095ac74ba12bc6534e4cc
treededc447c68e2d1ef84c3fee4290fce4bf35df791
parent0c2ea54e68937e460b15428d14972cedf9070856
core: Use at-relative functions for checking out tree copies too

For the cases where we can't hardlink, use at-relative walking of the
path where possible.  We still don't have lsetxattrat, so we also need
to deal with pathnames, but that is now only for symlinks.

Again, the advantages of this are a lot less malloc() of pathnames in
ostree, and much less time spent traversing paths inside the kernel.

https://bugzilla.gnome.org/show_bug.cgi?id=707733
src/libostree/ostree-core-private.h
src/libostree/ostree-core.c
src/libostree/ostree-repo-checkout.c
src/libostree/ostree-repo-commit.c